interface IHeaders {
	actionid: string;
	messagetype: string;
	sessionid: string;
	spaceid: string;
}

interface IBaseTable {
	_id: string;
}

interface IBaseArgJson {
	opflag: number;	// delete | insert | update
	tname: string;
}

interface IArgJsonInsert extends IBaseArgJson {
	opflag: 4 | number;	// insert
	rowdata: IBaseTable;
}

interface IArgJsonUpdate extends IBaseArgJson {
	opflag: 8 | number;	// update
	criteria: object;
	rowdata: IBaseTable;
}

interface IArgJsonDelete extends IBaseArgJson {
	opflag: 2 | number;	// delete
	criteria: object;
}
